package br.mil.eb.pqrmnt7.scc.entity;


import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Access;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.AccessType;
import com.powerlogic.jcompany.commons.config.stereotypes.SPlcEntity;
import javax.persistence.Entity;
import javax.persistence.Transient;
/**
 * Classe Concreta gerada a partir do assistente
 */
@SPlcEntity
@Entity
@Table(name="POSTO_GRADUACAO")
@SequenceGenerator(name="SE_POSTO_GRADUACAO", sequenceName="SE_POSTO_GRADUACAO")
@Access(AccessType.FIELD)


@NamedQueries({
	@NamedQuery(name="PostoGraduacaoEntity.queryMan", query="from PostoGraduacaoEntity"),
	@NamedQuery(name="PostoGraduacaoEntity.querySelLookup", query= "select id as id, " +
																		  "nome as nome, " +
																		  "sigla as sigla " +
																		  "from PostoGraduacaoEntity " +
																		  "where id = ? " +
																		  "order by id asc")
})
public class PostoGraduacaoEntity extends PostoGraduacao {

	private static final long serialVersionUID = 1L;
 	
    /*
     * Construtor padrao
     */
    public PostoGraduacaoEntity() {
    }
	@Override
	public String toString() {
		return getNome();
	}

	@Transient
	private String indExcPlc = "N";	

	public void setIndExcPlc(String indExcPlc) {
		this.indExcPlc = indExcPlc;
	}

	public String getIndExcPlc() {
		return indExcPlc;
	}

}
